home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 03 Demos and Info / INTERF.TXT < prev    next >
Encoding:
Text File  |  2019-04-13  |  16.5 KB  |  275 lines

  1.  
  2. ======================== 
  3. MSDOS : C-128 Interface 
  4.  
  5.     By: Carl F Howard      
  6.         [CHUCK.WAGON]     
  7.            05-27-87
  8. ========================
  9.  
  10.      It  is  becoming  more  common in this day and age not to  just  own  one 
  11. Personal Computer but in fact 2 and maybe more. A recent survey showed that as
  12. much as 66% of those people who own one P.C. usually have, or buy a second one.
  13. Many of us started out with a Commodore 64 or 128 as our first PC and have for
  14. various  reasons moved up to an MSDOS Compatible machine,  mainly due  to  the 
  15. Power  and  relatively Inexpensive prices for which a Clone may  be  Purchased 
  16. these  days.  Even   the folks  at Commodore have seen Blue and come out  with 
  17. their own versions of MSDOS machines.
  18.  
  19.       If your like myself, you find yourself with one machine for Play and one
  20. for Work.  However there are lots of things that you can do with both machines
  21. For  example,  word  processing and data base chores can be  handled  on  both 
  22. machines and although the Commodore Program files are not compatible with an
  23. MSDOS  machine  most Commodore Data files I found,  are easily converted  into 
  24. Standard ASCII files and are very usable on my clone.
  25.  
  26.       Many MSDOS Word processing programs can handle ASCII text files and have
  27. both  importing  and exporting capabilities for files in this  format.  As  an 
  28. example,  I use Time Works Word Writer - 128 on my C-128. The Sequential ASCII 
  29. files  created by Word Writer can easily be used with both the CP/M and  MSDOS 
  30. Versions of Word Star and these files can easily be used with another  popular 
  31. MSDOS  Program  FIRST  CHOICE by PFS.  The Key to Compatibility  here  is  the 
  32. necessary conversion too a Standard format which is of course ASCII.  One Note 
  33. on  the  negative side however is that when swapping Text files  between  word 
  34. processors  you will have too run your files through a filter program to Strip 
  35. Printer Control Characters,  if you have used them, and re-insert the codes in 
  36. your new format.  This however is a small and easy price to pay when  compared 
  37. to manually retyping entire documents.
  38.  
  39.       I  have  also had a great deal of success with The Shareware Program  PC 
  40. File by Jim Button.  This Program available here on GEnie in both the CP/M and 
  41. IBM  versions  is a very easy to use Data Base program which can  easily  swap 
  42. data  files between either Mode.  additionally the IBM version  has   Powerful 
  43. Importing  Utility  features  which with a little practice can  allow  you  to 
  44. convert  just  about any kind of formatted ASCII text file in to a  Data  Base 
  45. file. This means that those Large Data Files Which were taking you for ever to 
  46. sort  on  your C-64  and 1541 can now take just seconds on your MSDOS  machine 
  47. (I'm  not exaggerating  the  difference  in  disk  drive speeds  is  awesome). 
  48. Additionally the IBM version features a 32,000 plus record capacity which will 
  49. tackle  just  about any Home or Small Business application you could  imagine.                                      
  50.  
  51.      The  problem  with conversion of files is that even with the now  popular 
  52. Traslation  programs for the C-128 such as "Cross Link" and "Big Blue  Reader" 
  53. there  are  still  some very definite "file size" limitations for  making  the 
  54. tansfers.  Also if you don't own a 1571 Disk Drive or a C-128 there is no  way 
  55. of  physically transferring files with a C-64 and 1541.  As a result,  you may 
  56. find  as another very desirable and inexpensive option is to Connect your  two 
  57. Machines together and let them chat directly.  In fact one of the first things 
  58. I  did  shortly  after buying my Clone was to run out to  my  Local  Commodore 
  59. Dealer  and  Purchase the Aprotek Universal RS-232  Expansion  Interface  (You 
  60. should be able to purchase this or a comparable unit for between $30 and $50).
  61.  
  62.      The Aprotek Interface connects to the User Port of your 128 or 64 and has 
  63. an  extension slot in its rear end so you can still use your existing modem or 
  64. printer  interface.  A  Cable running from the side of the  interface   has  a 
  65. Standard  DB-25  Serial Connector that plugs into to the Serial Port  of  your 
  66. Clone.  You  then set Switch 1 on the interface to "Inverted" and Switch 3  to 
  67. Printer  B" load up your favorite Communications Software on Both Machines and 
  68. your ready to make your file transfers.
  69.  
  70.      It really is that simple.  Note You Do not Need a modem on Either Machine 
  71. to make this hook up,  You just need Terminal Programs to make your transfers, 
  72. similar  to how you currently upload and download files here  on  GEnie.  Also 
  73. Your  Clone  Must have A Serial Port,  This shouldn't be a problem since  most 
  74. Clones  Equipped with a Multi-I/O Board feature this option.  As a  matter  of 
  75. fact I don't have a Modem in my clone. I let my C-128 do all my Communications 
  76. work and then transfer files via the Interface to the Clone.  This may sound a 
  77. little  cumbersome  but you can crank both the Commodore and the Clone  up  to 
  78. 2400  Baud (provided your software will allow it) so the second transfer  goes 
  79. rather  quickly.  As  you  can see this little investment in hardware  on  the 
  80. Commodore can save you a $100 or more for that second modem for the clone  and 
  81. you can still do all your On-Line chores as usual. 
  82.  
  83.      Anyway, thats it for this time, as you can see I've tinkered with my toys
  84. quite extensively and picked up a trick or two along the way.  If you have any 
  85. questions  concerning  Commodore/CPM/MSDOS compatability feel free to drop  me 
  86. Some E-Mail and I'll be happy to be of whatever help I can.
  87.  
  88.  
  89. Regards...
  90.  
  91.  -=[CARL]=- 
  92.  
  93. 74000,3077 ON CIS
  94.  
  95. [CHUCK.WAGON] ON GEnie
  96.  
  97. =========================
  98. C-128 Compatibility
  99. By: Carl F Howard
  100.     [CHUCK.WAGON]
  101.      09-19-1987
  102. ========================
  103.                                                                            
  104.      This   is   an    article   on   the   aspects   of   compatibility   of                  
  105. the   C-128  and other operating systems and software available to facilitate 
  106. the importing and exporting of data. This article centers on the CP/M mode of 
  107. operation although the discussion will cover the various modes of the C-128 
  108. as well.
  109.                                                                             
  110.      Even though  the C-128 utilizes 8-bit CPU's it's diversity as a personal 
  111. computer for home and small business purposes is one of it's main Assets, and 
  112. I am  sure many new users of the machine aren't even aware of the  capacities 
  113. available to them.  Aside  from  playing your favorite games in C-64 mode the 
  114. native 128 80 column capabilities allows much convenience for the use of pro-
  115. ductivity applications to the new user. 
  116.  
  117.      There is already a wide base of Word Processing,  Data Base and Spread  
  118. Sheet Software available for use.  Additionally by utilizing the CP/M mode of 
  119. operation  users can take advantage of Business Applications and a huge  base 
  120. of public Domain Software as well.  Also, it is possible to use your C-128 to 
  121. process  data brought home from the office or school which was created on  an 
  122. MSDOS machine.  This  article  will  help  you become  aware  of the  various 
  123. different  disk  and data type formats and the software available to  convert 
  124. data for your particular application.
  125.  
  126.      First  it is necessary for the new user to understand a little about the 
  127. way  information is stored in the commodore computer and how it differs  from 
  128. other types of computers used in the U.S.  As you are aware all data utilized 
  129. by  a  computer is essentially processed in binary numbers in  the  forms  of 
  130. zeros  and  ones.  This  represents  the on and off state  of  an  individual 
  131. transistor switch in the intergrated chips of your computer.  This is  simple 
  132. enough  as far as it goes but how does the computer know when you press a key 
  133. on the keyboard what your pressing and what it means.
  134.  
  135.      Well  each  key  has a numeric value assigned to it.  The value  can  be 
  136. expressed in Decimal,  Hexadecimal or binary form. And it is this value which 
  137. is converted to a binary number that allows the computer to distinguish  what 
  138. key is being pressed and what it means. Most computers used in the U.S. use a 
  139. standard code called ASCII which assigns a value of decimal 1 to decimal  128 
  140. to  characters used by them.  Commodore in their unique wisdom however  chose 
  141. not  to  use  this  standard an developed a character  set  unique  to  there 
  142. machines  using  decimal codes 1 to 256.  So in order to use data created  by 
  143. other  machines it is necessary to convert it too PETASCII code a form  which 
  144. your Commodore computer can understand.
  145.  
  146.      Aside from the data differences Commodore also chose to use a  different 
  147. way of storing  information on their floppy disk as well. Mostly their reason 
  148. for this was to build a cheaper disk drive. They use GCR format as opposed to 
  149. MFM  format for the rest of the U.S.  computer industry.  I won't go into the 
  150. difference  here  but,  it is nice to know that the 1571 Disk Drive  has  the 
  151. capability of reading and writing to both formats with the use of the  proper 
  152. software.  We'll  get into this  more bellow.  The thing to remember here  is 
  153. that  all Native Commodore operating systems (home computers) including  CP/M 
  154. use the GCR format.
  155.  
  156.      Well  armed with this information what else do we need to know?  For one 
  157. it  is important to know whether you are using a single or double sided  disk 
  158. format.  For  another it is important to know which operating system (or disk 
  159. drive)  your  disk was formatted on.  The types of disk formats  we  will  be 
  160. discussing here are the following:
  161.  
  162. a.  C-64    Single Sided  1541 
  163. b.  C-128   Single Sided  1571 (1541 compatible)
  164. c.  C-128   Double Sided  1571 (not 1541 compatible)
  165. d.  C-128   CP/M (GCR) 1571 Single Sided (1541 compatible))
  166. e.  C-128   CP/M (GCR) 1571 Double Sided (not 1541 Compatible))
  167. f.  C-128   CP/M (MFM) IBM (CP/M-86) Single Sided 1571 (not 1541 Compatible))
  168. g.  C-128   CP/M (MFM) IBM (CP/M-86) Double Sided 1571 (not 1541 Compatible))
  169. h.  MSDOS   IBM Double Sided (9 tracks) DOS Version 2.0 or higher.
  170.  
  171.      As you can see I have listed the Disk types in upward compatible  order. 
  172. Commodore did develop a CP/M version (2.2) for the C-64 which required an add 
  173. on  cartridge to implement and as such I've included it in our list  although 
  174. we  will  be  discussing the 128 Version here which is CP/M + (Ver  3.0)  and 
  175. takes advantage of the 128's Banked Memory (additional 64k as opposed to only  
  176. 64k for Ver 2.2).
  177.  
  178.     The  Stock C-128 CP/M Operating System which comes with the  computer  is  
  179. capable of reading and writing formats d.  e.  f. & g. noted above. The stock 
  180. system  is  also capable of reading  Kaypro And Epson Formats  as  well.  The 
  181. System  will automatically identify the disk type in current use in the lower 
  182. right  hand corner of your monitor.  Note when a disk format other than a 128 
  183. Single  or Double Sided format is used the user must tell the system  whether 
  184. or  not the non-128 formatted disk is a single or double sided disk.  This is 
  185. done  by  pressing the left or right arrow keys on the top row  next  to  the 
  186. function  keys.  Failing  to identify the correct format can cause disk  read  
  187. and  write  errors  so be sure to properly set the  system  for  the  correct 
  188. format.   
  189.  
  190.      There are Two Public Domain Programs available that will enhance the  C-
  191. 128  Systems  ability to read write and format other CP/M formats.  They  are 
  192. Called NFORMAT.COM and UNIDRIVE.LBR.  NFORMAT will allow you to format all of 
  193. the  formats  indicated above and Osborne DD formats as well.  Unidrive  will 
  194. allow  you  to  read/write up to 10 formats out of a  menu  of  25  different 
  195. formats  not  supported by the stock O/S.  Although there are more than  200+ 
  196. CP/M formats these 25 will surely enhance your systems capabilities and cover 
  197. a range of the more popular formats you will encounter. 
  198.  
  199.      More  than likely at some point you will want to transfer data you  have 
  200. created on your C-64 or 128 in native mode.  The stock system can't do  this. 
  201. But don't get discouraged.  A real Nifty Program to read and transfer/convert 
  202. Data  from  your  Commodore  disk has been put in the Public  Domain  by  Rob 
  203. Tiloston called RDCBM21.LBR.  It will allow you to transfer binary  (program) 
  204. files or sequential files you have created in native mode to your Ram Disk or 
  205. second Disk Drive while you are in CP/M operating mode. The program will also 
  206. convert  PETASCII  to ASCII for you as well.  CP/M uses ASCII files and  your 
  207. Commodore  text files will have to be converted for you to use them  in  CP/M 
  208. mode.  The program is very helpful in this respect and eliminates your having 
  209. to use other utility files for the conversion. The other nice feature of this 
  210. program is that you can transfer CP/M program files you have down loaded with 
  211. your Native terminal program to a Commodore formatted disk directly to a CP/M 
  212. disk  or  your  RAM disk while in CP/M mode.  This is a much  eaiser  way  of 
  213. accomplishing  transfers than some of the earlier transfer programs that came 
  214. out in the beginning days of C-128 CP/M.  The program is menu driven and easy 
  215. to use and I highly recommend it for anyone just beginning in CP/M mode.  
  216.  
  217.      While  we're on the topic of Commodore to CP/M transfers I'll shift back 
  218. into  Native mode transfer programs for just a moment.  There are 2  programs 
  219. that  are available for use in 128 Mode to facilitate Disk to Disk  transfers 
  220. of  Data.  One  is  a DEMO program of a commercial program  called  Big  Blue 
  221. Reader and it will allow you to view MSDOS Data files on your 128. The actual 
  222. program will implement full file transfers and I believe the current  version 
  223. also supports CP/M transfer as well. The suggested retail price is $29.95. 
  224.  
  225.      The other Program is called CROSSLINK2.LBR,  CrossLink is a fully imple-
  226. mented menu Driven Disk to Disk (2nd Drive optional)  transfer  program  that 
  227. will   make just about any kind of transfer/conversion you can think  of.  It 
  228. will  handle CBM,  CP/M and IBM Disk formats and  do  ASCII  PETASCII conver-
  229. sions  as well PRG and Screen file conversions too.  This means that it  will 
  230. convert just about any Commodore text file format into a usable CP/M or MSDOS 
  231. format  that you require.  You can also use it to convert different text file 
  232. formats  used by the various Commodore word processing applications  programs 
  233. too. It is an absolute MUST HAVE utility for any one using more than one type 
  234. of word processor on their Commodore computer. 
  235.  
  236.      The  major draw back with using either of these two programs  though  is 
  237. that  they  are limited in the size of the files that they  can  transfer  to 
  238. about  200 disk blocks or 40k of memory.  This is because they store the data 
  239. being transferred in a RAM buffer and Don't transfer the data directly.  This 
  240. can  be overcome by splitting a larger file into smaller ones for text  files 
  241. but you will not have this option in the case of a Program  ARC or LBR  files 
  242. which can't be split. For larger files you are going to have to use the RDCBM
  243. program  above or employ a direct conversion method of tranfering  your  data 
  244. such  as  a Null Modem Cable (See my article C-128 Interface for more info on 
  245. this method).
  246.  
  247.      Now back to CP/M mode,  to use an MSDOS formatted disk on your 128 there 
  248. is  a  program called RDMS233C.LBR.  This program will allow you to  copy  an 
  249. MSDOS  disk  file directly to your RAM disk or second  drive.  File  size  is 
  250. limited only to the available disk space.  The only problem with this program 
  251. however  is that it will only read an MSDOS disk not write to it.  To get the 
  252. Data back to an MSDOS format you will have to copy it to a CP/M disk and  use 
  253. the Crosslink program noted above.
  254.  
  255.      For  those of you who will be doing a lot of MSDOS / CP/M transfers  and
  256. don't  want to go through the Gymnastics of multiple file conversions I would 
  257. highly recommend an MSDOS Program called UNIFORM.  It is a commercial program 
  258. which  retails for $59.95 available at most retail software outlets that will 
  259. allow  you to read/write CP/M disk on the second floppy drive of  your  MSDOS 
  260. machine.  It  supports over 200+ CP/M formats and you can take your work home 
  261. and  bring it back the next day if you use one of the Alternate  MFM  formats 
  262. supported on the Commodore 128 noted above.  It's well worth the price if you 
  263. do  a  lot  of  work at home and don't want to spend the extra  time  at  the 
  264. office. 
  265.  
  266.      Well  that's  about all for now if you have questions or need help  with 
  267. any  of  these programs drop me a line and I'll be glad to  offer  what  ever 
  268. assistance I can. 
  269.  
  270. Happy *Puting*    
  271.  -=[CARL]=- 
  272.  
  273.   7400,3077     ON CIS  
  274.   
  275.   [CHUCK.WAGON] ON GEnie